package com.itmuch.cloud;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

import com.itmuch.config.Configurationl2;

@FeignClient(name="xxx",url="http://localhost:8761/",configuration=Configurationl2.class,fallback=FeignClient2Fallback.class)
public interface FeignClient2 {
	
	@RequestMapping(value="/eureka/apps/{serviceName}")
	public String test(@PathVariable("serviceName") String serviceName);
	
	
}
